package com.push.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.push.common.annotation.Excel;
import com.push.common.core.domain.BaseEntity;

/**
 * RSS订阅对象 biz_rss
 *
 * @author yanxi
 * @date 2022-11-22
 */
public class BizRss extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 索引ID */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** RSS */
    @Excel(name = "RSS")
    private String rssUrl;

    /** 租户ID */
    private String tenantId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setRssUrl(String rssUrl)
    {
        this.rssUrl = rssUrl;
    }

    public String getRssUrl()
    {
        return rssUrl;
    }
    public void setTenantId(String tenantId)
    {
        this.tenantId = tenantId;
    }

    public String getTenantId()
    {
        return tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("rssUrl", getRssUrl())
            .append("updateTime", getUpdateTime())
            .append("tenantId", getTenantId())
            .toString();
    }
}
